package com.example.homework2;

import android.os.Bundle;

import androidx.appcompat.app.AppCompatActivity;
import androidx.viewpager2.widget.ViewPager2;

public class H_ViewPage_2 extends AppCompatActivity {

    ViewPager2 viewpage_2;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_hview_page2);

        viewpage_2 = findViewById(R.id.viewpage_2);

        View_Page_Adapter viewPageAdapter = new View_Page_Adapter();
        viewpage_2.setAdapter(viewPageAdapter);
    }
}